package com.freight.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freight.user.entity.CompanyDriver;
import com.freight.user.vo.CompanyRelationshipVo;
import com.freight.user.vo.UserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompanyDriverMapper extends BaseMapper<UserVo> {

    List<CompanyDriver> getCompanyDriverVo(@Param("driverId") Long driverId , @Param("companyId") Long companyId );

    List<CompanyRelationshipVo> getCompanyDriverList(@Param("driverId") Long driverId );

    List<CompanyRelationshipVo> getCompanyRelationshipList(@Param("driverId") Long driverId );

}
